package com.dys.mapper;

import com.dys.pojo.Player;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @className: com.dys.mapper.PlayerMapper
 * @description: com.dys.mapper
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/10/27 18:52
 */
@Repository
public interface PlayerMapper {
    /**
     * 添加用户信息
     */
    int addPlayer(Player player);

    @Select("select * from t_user")
    List<Player> listPlayers();
}
